package com.ase.leetcode;

import java.util.Arrays;
import java.util.Collections;
import java.util.List;

/**
 * @author gyhstart
 * @create 2021/4/1 - 1:19
 **/
public class Test2 {
    public static void main(String[] args) {
        int[] arr = {1, 2, 3, 4, 5, 6, 7, 8, 9};
        List<int[]> ints = Arrays.asList(arr);
//        System.out.println("arr = " + ints.stream().sorted().collect(Collections.class));
        Object[] objects = ints.toArray();
        System.out.println("objects = " + objects);
    }
}
